package com.ph.shopping.facade.merchant.entity;

import javax.persistence.Column;
import javax.persistence.Table;

import com.ph.shopping.common.core.base.BaseEntity;

/**
 * 用户余额流水实体
 * @author huangdd
 *
 */
@Table(name="ph_user_balance_record")
public class UserBalanceRecord extends BaseEntity{

	private static final long serialVersionUID = 5406243254407240226L;
	@Column(name="userId")
	private Long userId;//用户id (商户或者代理)
	@Column(name="money")
	private Long money;//金额
	@Column(name="type")
	private Integer type;//人员类型 1商户 2 代理商
	@Column(name="transCode")
	private Integer transCode;//交易码(商户进货 代理进货 商户创建订单线下支付 )
	@Column(name="orderNo")
	private  String orderNo;//订单号
	
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Long getMoney() {
		return money;
	}
	public void setMoney(Long money) {
		this.money = money;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getTransCode() {
		return transCode;
	}
	public void setTransCode(Integer transCode) {
		this.transCode = transCode;
	}
}
